﻿#ifndef MECONVERT_H
#define MECONVERT_H

#include <opencv2/core.hpp>

#include <memath/MePoint.h>

/**
 * @brief 数据之间相互转化的类
 */
class MeConvert
{
public:
    static std::vector<cv::Point3d> toCvPoints(std::vector<MePoint3D> &pts);
    static std::vector<cv::Point2f> toCvPoints(std::vector<cv::KeyPoint> &kps);
    static void keyPointsToCvPoints(std::vector<cv::KeyPoint> &inKps, std::vector<cv::Point2f> &outPts);
};

#endif // MECONVERT_H
